<div class="box-collateral box-up-sell">
<!--    <div style='color: #7f7f7e'>Các sản phẩm liên quan đến<div>-->
            <?php
                foreach ($product as $key => $value):
                    echo CHtml::openTag('div', array('style' => 'float: left; width:180px; margin-right: 5px'));
                        echo CHtml::link(CHtml::image(Yii::app()->baseUrl."/uploads/images/products/thumb/".$value->thumb, $value->name, array('width' => '150')), Yii::app()->createUrl('product/view/', array('id' => $value->id)), array('class' => 'product-image'));
                        echo CHtml::tag('h3', array('class' => 'product-name', 'style' => 'margin-top: 60px; text-align: center; margin-bottom: 0px;'), CHtml::link($value->name, Yii::app()->createUrl('product/view/', array('id' => $value->id)), array()), true);
                        echo CHtml::openTag('div', array('class' => 'price-box'));
                            echo CHtml::openTag('span', array('class' => 'egular-price'));
                                echo CHtml::tag('span', array('class' => 'price', 'style' => 'margin-top:10px'), number_format($value->price, 0, ' ', ' ') . " VNĐ");
                            echo CHtml::closeTag('span');
                        echo CHtml::closeTag('div');
                    echo CHtml::closeTag('div');
                endforeach;
            ?>  
</div>
